<style type="text/css">
    input[type=radio],input[type=checkbox]{
        margin-top:5px!important;
    }
</style>
<div class="row animated fadeInRight">
    <div class="col-md-10">
        <div class="box box-success">
            <div class="panel-heading">
                同步设置
            </div>
            <div class="panel-body" style="line-height: 2em">
                <form id="update-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">


                    <div class="form-group" id="title">
                        <label class="control-label col-xs-12 col-sm-2">同步规则:</label>
                        <div class="col-xs-12 col-sm-8">

                            <div class="radio">
                                <label>
                                    <input name="row[status]" {eq name="ku.status" value="0" }checked{/eq} type="radio" value="0">不同步
                                </label>
                                <label>
                                    <input name="row[status]" {eq name="ku.status" value="1" }checked{/eq} type="radio" value="1">同步
                                </label>
                            </div>

                            <div class="checkbox auto" style="display: none">
                                <div>
                                    <div class="form-group">
                                        <label class="control-label col-xs-12 col-sm-2">同步域名地址:</label>
                                        <div class="col-xs-12 col-sm-8">
                                            <input type="text" name="row[url]" class="form-control" data-rule="required" value="{$ku.url}" placeholder="域名结尾带/"/>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="control-label col-xs-12 col-sm-2">账户:</label>
                                        <div class="col-xs-12 col-sm-8">
                                            <input type="text" name="row[account]" class="form-control" data-rule="required" value="{$ku.account}"/>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="control-label col-xs-12 col-sm-2">秘钥:</label>
                                        <div class="col-xs-12 col-sm-8">
                                            <input type="text" name="row[key]" class="form-control" data-rule="required" value="{$ku.key}"/>
                                        </div>
                                    </div>
                                </div>


                            </div>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2" style="padding-top:0px;">说明:</label>
                        <div class="col-xs-12 col-sm-8">
                            <span>开启后青动CRM客户信息和联系人信息自动同步到酷柚进销存客户信息中</span>
                        </div>
                    </div>
                    <div class="form-group layer-footer">
                        <label class="control-label col-xs-12 col-sm-2"></label>
                        <div class="col-xs-12 col-sm-8">
                            <button type="submit" class="btn btn-success">{:__('Submit')}</button>
                            <button type="reset" class="btn btn-default">{:__('Reset')}</button>
                        </div>
                    </div>
                </form>

            </div>
        </div>

    </div>

</div>